<template>
    <div id="yfqk">
        <div>
            <el-table :data="midData" stripe border>
                <el-table-column label="酒店名称"
                                 prop="name"
                ></el-table-column>

                <el-table-column label="2018用房数量"
                                 prop="yfsl_2018"
                ></el-table-column>
                <el-table-column label="2019用房数量"
                                 prop="yfsl_2019"
                ></el-table-column>
                <el-table-column label="2018购票金额"
                                 prop="gpje_2018"
                ></el-table-column>
                <el-table-column label="2019购票金额"
                                 prop="gpje_2019"
                ></el-table-column>
                <el-table-column label="用房数量对比"
                                 prop="yfsl_inc"
                ></el-table-column>
                <el-table-column label="套餐中金额对比"
                                 prop="gpje_inc"
                ></el-table-column>
            </el-table>
        </div>


    </div>
</template>

<script>
    export default {
        name: "yfqk",
        props: ['midData',],
        data() {
            return {
                res2018: '',
                res2019: '',
                res: []
            }
        },
        mounted() {

        },
        methods: {

        }
    }
</script>

<style scoped>

</style>